package com.neuedu.corejava.ch10test;

import java.util.ArrayList;
import java.util.List;

public class ArrayList1 {

	public static void main(String[] args) {

		List list=new ArrayList();
		for(int i=1;i<=5;i++) {
			list.add(i);
		}
		for (Object object : list) {
			System.out.print(object+"\t");
		}
	}

}
